<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport"
  content="width=device-width, initial-scale=1.0, minimum-scale=1,maximum-scale=1,user-scalable=no">
 <meta http-equiv="X-UA-Compatible" content="ie=edge">
 <title data-ch="恐龙探险" data-en="Dinosaur Adventure" class="document_title">恐龙探险</title>
 <script src="js/jquery-3.3.1.min.js"></script>
 <script src="js/common.js"></script>
 <script src="js/rem.js"></script>
 <script src="js/layer.js"></script>
 <script type="text/javascript">
  isLogin();
 </script>
 <link rel="stylesheet" href="css/common.css">
 <link rel="stylesheet" type="text/css" href="css/css.css">
</head>
<body>
<!--头部-->
<div class="jui_top_bar">
    <!-- <a class="jui_top_left" href="javascript:history.back(-1)"><img src="icons/back.png"></a>
    <div class="jui_top_middle" data-ch="社交信息" data-en="Personal Details">社交信息</div>
    <a href="lianxi.html" class="jui_top_right f30 font_weight">修改</a> -->
</div>
<!--头部end--> 
<!--主体-->
<form action="">
<div class="jui_main">
     <!-- 实名认证提交 -->
     <div class="jui_pad_12">
          <div class="bg_light_black jui_bor_rad_15 jui_pad_20">
                <p class="col_fff f30" data-ch="个人档案" data-en="My details" style="display: inline-block; border-bottom: 1Px solid #fff; margin-bottom: 0.15rem;">个人档案</p>
                <p class="col_fff user_info1 jui_pad_b5"></p>
                <p class="col_fff user_info2 jui_pad_b5"></p>
                <p class="col_fff user_info3 jui_pad_b5"></p>
                <p class="col_fff user_info4 jui_pad_b5"></p>
          </div>
     </div>
     <!-- 实名认证提交end -->
     <div class="jui_h20"></div>
     <div class="jui_flex_col_center">
         <a href="dlmm_edit.html" class="ziliao_btn jui_mar_b20" data-ch="更改密码" data-en="Change password">更改密码</a>
         <a href="jymm_edit.html" class="ziliao_btn" data-ch="更改交易密码" data-en="Change secondary password">更改交易密码</a>
     </div>
</div>
</form>
<!--主体end-->
</body>
<script>
 $(document).ready(function(){
  var language_type=localStorage.getItem("language_type");
  // 获取系统数据
  var data = {
   uid: localStorage.getItem("u_id"),
   token: localStorage.getItem("token"),
   language_type: language_type
  }
  $.ajax({
   type: 'post',
   url: baseURL + '/index.php?m=user&c=config_setup',
   data: data,
   success: function success(data) {
    data = JSON.parse(data);
	is_login(data);
    if (data.code == 1) {
     $(".jui_top_bar").html(`<a class="jui_top_left" href="javascript:history.back(-1)"><img src="icons/back.png"></a>
      <div class="jui_top_middle" data-ch="社交信息" data-en="Personal Details">社交信息</div>
      <a href="lianxi.html?qq=${data.user.m_qq}&&wx=${data.user.m_wx}" class="jui_top_right f30 font_weight">${data.user.m_qq!='' && data.user.m_wx!='' ? '修改' : '添加'}</a>`)
     $(".user_info1").html(language_type==1? '账号:&nbsp;&nbsp;' + data.user.m_account: 'User ID:&nbsp;&nbsp;' + data.user.m_account);
     $(".user_info2").html(language_type==1? '全名:&nbsp;&nbsp;' + data.user.m_nickname: 'Full name:&nbsp;&nbsp;' + data.user.m_nickname);
     $(".user_info3").html(language_type==1? '电话号码:&nbsp;&nbsp;' + data.user.m_phone: 'Phone no.:&nbsp;&nbsp;' + data.user.m_phone);
     $(".user_info4").html(language_type==1? '电邮:&nbsp;&nbsp;' + data.user.m_email: 'Email:&nbsp;&nbsp;' + data.user.m_email)
    }
   }
  })

  language();
  documentName()
 });
</script>
</html>